[INFO] cloning repository https://github.com/Insem/Obstacles-calculation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Insem/Obstacles-calculation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] afca7281bf5934f95a248f974804a58cc2bbd3d7
[INFO] checking Insem/Obstacles-calculation against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Insem/Obstacles-calculation on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Insem/Obstacles-calculation
[INFO] finished tweaking git repo https://github.com/Insem/Obstacles-calculation
[INFO] tweaked toml for git repo https://github.com/Insem/Obstacles-calculation written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Insem/Obstacles-calculation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 785c5ea910955b89bf1da25ef24c8b4fee30fb00843ed40d7604f817be13ff49
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "785c5ea910955b89bf1da25ef24c8b4fee30fb00843ed40d7604f817be13ff49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "785c5ea910955b89bf1da25ef24c8b4fee30fb00843ed40d7604f817be13ff49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "785c5ea910955b89bf1da25ef24c8b4fee30fb00843ed40d7604f817be13ff49", kill_on_drop: false }`
[INFO] [stdout] 785c5ea910955b89bf1da25ef24c8b4fee30fb00843ed40d7604f817be13ff49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e40ec537d4e78b206ccb96d3ecb0ba1e46dd45d84cfdff42503077dc37069e8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8e40ec537d4e78b206ccb96d3ecb0ba1e46dd45d84cfdff42503077dc37069e8", kill_on_drop: false }`
[INFO] [stderr]     Checking obstacles_calculation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::point::Point`
[INFO] [stdout]  --> src/euclid/digitRange.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/euclid/digitRange.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `right` should have an upper camel case name
[INFO] [stdout]  --> src/euclid/digitRange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     right,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Right`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `left` should have an upper camel case name
[INFO] [stdout]  --> src/euclid/digitRange.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     left,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `euclid::scale::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use euclid::scale::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/euclid/figure.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let i: i8 = 0;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/euclid/digitRange.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut arr: [MathRange; 2] = [
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/euclid/digitRange.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut arr: [MathRange; 1] = [MathRange::new(angle, angle + std::f32::consts::PI)];
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `right`
[INFO] [stdout]  --> src/euclid/digitRange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     right,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `toDegrees`
[INFO] [stdout]   --> src/euclid/scale.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let A: Point = Point::new(-4_f32, 3_f32);
[INFO] [stdout]   |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let B: Point = Point::new(6_f32, 5_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let C: Point = Point::new(-4_f32, -2_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let D: Point = Point::new(6_f32, -4_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Q: Point = Point::new(3_f32, -1_f32); //_____
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AB` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let AB: Line = Line::new(A, B, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `ab`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BD` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let BD: Line = Line::new(B, D, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `bd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let DC: Line = Line::new(D, C, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `dc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `CA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let CA: Line = Line::new(C, A, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let lineArr: std::vec::Vec<Line> = vec![AB, BD, DC, CA];
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `digitRange` should have a snake case name
[INFO] [stdout]  --> src/euclid/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod digitRange;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `digit_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getLeft` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn getLeft(angle: f32) -> [MathRange; 2] {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `get_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getRight` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn getRight(angle: f32) -> [MathRange; 1] {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `get_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `containRanges` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `contain_ranges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rangeArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool {
[INFO] [stdout]    |                          ^^^^^^^^ help: convert the identifier to snake case: `range_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toDegrees` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(lineArr: std::vec::Vec<Line>) -> Figure {
[INFO] [stdout]    |                ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `checkPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn checkPoint(&self, point: Point) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `check_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checkLines` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec<Line>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^ help: convert the identifier to snake case: `check_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec<Line>) -> bool {
[INFO] [stdout]    |               ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `A_point` should have a snake case name
[INFO] [stdout]  --> src/euclid/line.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub A_point: Point,
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `a_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B_point` should have a snake case name
[INFO] [stdout]  --> src/euclid/line.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub B_point: Point,
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `b_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `firstPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/line.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to snake case: `first_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `secondPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/line.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: convert the identifier to snake case: `second_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startCoordinatesLine` should have a snake case name
[INFO] [stdout]  --> src/euclid/scale.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn startCoordinatesLine(l: &Line) -> Line {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startCoordinatesPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |                              ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `P` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |                                         ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detectPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: convert the identifier to snake case: `detect_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: convert the identifier to snake case: `start_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `zeroLine` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let zeroLine: Line = startCoordinatesLine(&line);
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `zero_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `planeAngle` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let planeAngle: f32;
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `plane_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `planeAtan` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let planeAtan: f32 = (zeroLine.B_point.y / zeroLine.B_point.x).atan();
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `plane_atan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `findAngle` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let findAngle: f32;
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `find_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `findAtan` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let findAtan: f32 = (point.y / point.x).atan();
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `find_atan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `antiNum` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn antiNum(num: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `anti_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toDegrees` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::point::Point`
[INFO] [stdout]  --> src/euclid/digitRange.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::point::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/euclid/digitRange.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `right` should have an upper camel case name
[INFO] [stdout]  --> src/euclid/digitRange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     right,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Right`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `left` should have an upper camel case name
[INFO] [stdout]  --> src/euclid/digitRange.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     left,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `euclid::scale::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use euclid::scale::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 47 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/euclid/figure.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let i: i8 = 0;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/euclid/digitRange.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut arr: [MathRange; 2] = [
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/euclid/digitRange.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut arr: [MathRange; 1] = [MathRange::new(angle, angle + std::f32::consts::PI)];
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `right`
[INFO] [stdout]  --> src/euclid/digitRange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     right,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `toDegrees`
[INFO] [stdout]   --> src/euclid/scale.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let A: Point = Point::new(-4_f32, 3_f32);
[INFO] [stdout]   |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let B: Point = Point::new(6_f32, 5_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let C: Point = Point::new(-4_f32, -2_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let D: Point = Point::new(6_f32, -4_f32);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Q: Point = Point::new(3_f32, -1_f32); //_____
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AB` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let AB: Line = Line::new(A, B, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `ab`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `BD` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let BD: Line = Line::new(B, D, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `bd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let DC: Line = Line::new(D, C, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `dc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `CA` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let CA: Line = Line::new(C, A, Wise::left);
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case: `ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let lineArr: std::vec::Vec<Line> = vec![AB, BD, DC, CA];
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `digitRange` should have a snake case name
[INFO] [stdout]  --> src/euclid/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod digitRange;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `digit_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getLeft` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn getLeft(angle: f32) -> [MathRange; 2] {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `get_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getRight` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn getRight(angle: f32) -> [MathRange; 1] {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `get_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `containRanges` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `contain_ranges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rangeArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool {
[INFO] [stdout]    |                          ^^^^^^^^ help: convert the identifier to snake case: `range_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toDegrees` should have a snake case name
[INFO] [stdout]   --> src/euclid/digitRange.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(lineArr: std::vec::Vec<Line>) -> Figure {
[INFO] [stdout]    |                ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `checkPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn checkPoint(&self, point: Point) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `check_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checkLines` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec<Line>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^ help: convert the identifier to snake case: `check_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lineArr` should have a snake case name
[INFO] [stdout]   --> src/euclid/figure.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec<Line>) -> bool {
[INFO] [stdout]    |               ^^^^^^^ help: convert the identifier to snake case: `line_arr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `A_point` should have a snake case name
[INFO] [stdout]  --> src/euclid/line.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub A_point: Point,
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `a_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B_point` should have a snake case name
[INFO] [stdout]  --> src/euclid/line.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub B_point: Point,
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `b_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `firstPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/line.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to snake case: `first_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `secondPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/line.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ help: convert the identifier to snake case: `second_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startCoordinatesLine` should have a snake case name
[INFO] [stdout]  --> src/euclid/scale.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn startCoordinatesLine(l: &Line) -> Line {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startCoordinatesPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |                              ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `P` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point {
[INFO] [stdout]    |                                         ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detectPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: convert the identifier to snake case: `detect_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startPoint` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: convert the identifier to snake case: `start_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `zeroLine` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let zeroLine: Line = startCoordinatesLine(&line);
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `zero_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `planeAngle` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let planeAngle: f32;
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `plane_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `planeAtan` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let planeAtan: f32 = (zeroLine.B_point.y / zeroLine.B_point.x).atan();
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `plane_atan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `findAngle` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let findAngle: f32;
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `find_angle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `findAtan` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let findAtan: f32 = (point.y / point.x).atan();
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `find_atan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `antiNum` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn antiNum(num: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `anti_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toDegrees` should have a snake case name
[INFO] [stdout]   --> src/euclid/scale.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn toDegrees(r: f32) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 47 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.73s
[INFO] running `Command { std: "docker" "inspect" "8e40ec537d4e78b206ccb96d3ecb0ba1e46dd45d84cfdff42503077dc37069e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e40ec537d4e78b206ccb96d3ecb0ba1e46dd45d84cfdff42503077dc37069e8", kill_on_drop: false }`
[INFO] [stdout] 8e40ec537d4e78b206ccb96d3ecb0ba1e46dd45d84cfdff42503077dc37069e8
